PowerShell
Part of the Information Technology School
PowerShell (including Windows PowerShell and PowerShell Core) is a task automation and configuration management framework from Microsoft available since 2006, consisting of a command-line shell and associated scripting language built on the .NET Framework. Initially a Windows component only, PowerShell was made open-source and cross-platform on 18 August 2016.[1]
This entire Wikiversity course can be downloaded in book form by selecting Download Learning Guide in the sidebar.
Approach
[edit | edit source]Many PowerShell tutorials approach PowerShell from a command-line scripting and automation perspective, assuming that you already know programming. This course takes a more traditional academic introduction to programming approach, with the assumption that once you understand programming using the PowerShell language, you will be able to use other resources to develop the scripts you need.
Preparation
[edit | edit source]This is a third-semester, college-level course. Learners should already be familiar with introductory computer concepts and computer support concepts.
Resources
[edit | edit source]The lessons in this course use a variety of information resources. All are free, but some require registration in order to access them. On Wikiversity, every effort is made to avoid this type of resource unless the quality of the resource clearly outweighs the nuisance factor. The online book Master-PowerShell | With Dr. Tobias Weltner at PowerShell.com is a high quality resource, and provides the option of opting out of any contact.
Lessons
[edit | edit source]- Introduction
- Console
- ISE
- Variables
- Expressions
- Conditions
- Loops
- Arrays and Hash Tables
- Functions
- Errors
- File System
- Registry
- Systems Management
- Event Logs
- Additional Topics
Examples
[edit | edit source]- Create-ShutdownTask
- Disable-InternetExplorerESC
- Install-Flowgorithm
- Install-GoogleChrome
- Install-SQLServerExpress2019
- Install-SQLServerManagementStudio184
- Install-VisualStudioCode
See Also
[edit | edit source]- Microsoft Virtual Academy: Getting Started with PowerShell 3.0
- Microsoft Virtual Academy: Advanced Tools & Scripting with PowerShell 3.0
- TechNet: The Best Ways to Learn PowerShell